home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
os2
/
inadv022.zip
/
HELLOSCR.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-05-25
|
526b
|
21 lines
/*
**
** HELLOSCR.CMD - Sample REXX script which is executed from IRC by typing
** /scr helloscr.cmd <nickname> [text]
*/
Parse Arg WinHandle OurNick Parm1 Parms
if (Parm1 <> '') then do
if (Parms <> '') then do
str = "/MSG" Parm1 Parms
end
else do
str = "/MSG" Parm1 "Greetings from" OurNick
end
IrcRexxDisplay("Hello message sent to" Parm1, WinHandle);
IrcRexxCommand(str, WinHandle);
end
else do
IrcRexxDisplay("*** Missing nickname ***", WinHandle)
end